
.send-input {
  margin-bottom: 10px;
}




.interface-cus-tabs > .el-tabs__content {
  padding: 0;
  font-size: 20px;
  //font-weight: 600;
  height: calc(100% - 40px);
  //overflow: scroll;
}


.body-content-type {
  width: 500px;
  cursor: pointer;
  color: var(--el-color-primary);
  display: flex;
  align-items: center;
  .el-input__wrapper{
    width: 150px;
    background-color: transparent;
    box-shadow: none;

    &:hover {
      box-shadow: none !important;
    }

  }
  .el-select .el-input.is-focus .el-input__wrapper {
    box-shadow: none !important;
  }

  .el-select .el-input__wrapper.is-focus {
    box-shadow: none !important;
  }
}

// 接口的TABS
.interfaceTabs {
  position: relative;
  width: 100%;
  height: 100%;

  .el-tabs {
    height: 100%;

    .el-tab-pane {
      height: 100%;

      .flx-justify-between {
        height: 100%;
      }
    }

    .el-tabs__header {
      margin: 0;
      width: calc(100% - 190px);
    }
  }

  .env-dropdown {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 38px;
    border-bottom: 2px solid var(--el-border-color-light);

    .env-select-button {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 190px;
      cursor: pointer;
      border-left: 1px solid var(--el-border-color-light);
      transition: all 0.3s;

      &:hover {
        background-color: var(--el-color-info-light-9);
      }

      .iconfont {
        font-size: 12.5px;
      }
    }
    .el-dropdown-menu__item {
      width: 150px;
    }
  }

  // 配置 是否启用和删除的按钮样式
  .interface-cus-tabs {
    .operation-column {
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
  }
}

//设置的TAB页
.setting-container {
  margin: 20px;
}




// 代码编辑器容器(请求的编辑器）
.code-main {
  height: calc(100% - 50px);
  width: calc(100% - 200px);
  position: relative;
  // 代码编辑器侧边
  .code-side {
    position: absolute;
    height: 100%;
    overflow: scroll;
    width: 200px;
    margin-left: 10px;
    top: 0;
    right: -210px;
  }
}





// 响应TABS
.response-tabs > .el-tabs__content {
  padding: 0;
  font-size: 20px;
  height: calc(100% - 40px);
}
// 响应TABS
.responseTabs {
  position: relative;
  width: 100%;
  height: 100%;
    .el-tabs {
      height: 100%;

      .el-tab-pane {
        height: 100%;


        .flx-justify-between {
          height: 100%;
        }
      }

      .el-tabs__header {
        margin: 0;
        width: calc(100% - 315px);
        i {
          font-size: 14px;
        }
      }
    }

  .response-status-container {
    position: absolute;
    top: 0;
    right: 78px;
    height: 38px;
    width: 240px;
    border-bottom: 2px solid var(--el-border-color-light);
    display: flex;
    justify-content: flex-end;
    div {
      font-size: 12px;
      line-height: 38px;
      margin-left: 10px;
      .key {
        font-weight: bold;
        margin-right: 5px;
      }
      .value {
        color: var(--el-color-primary);
      }
    }
  }

  .response-isOpen-button {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    border-bottom: 2px solid var(--el-border-color-light);
    width: 80px;
    cursor: pointer;
    transition: all 0.3s;
    &:hover {

      border-bottom: 2px solid var(--el-border-color-light);
    }
    .el-button.is-link:not(.is-disabled):focus, .el-button.is-link:not(.is-disabled):hover {
      background-color: snow !important;
      border-color: snow !important;
    }
  }
}

.response-body {
  height: 100%;
  width: calc(100% - 200px);
  position: relative;
  // 代码编辑器侧边
  .response-body-side {
    position: absolute;
    height: 100%;
    overflow: scroll;
    width: 200px;
    margin-left: 10px;
    top: 0;
    right: -210px;
  }
}





//以下为侧边
.splitpanes {
  display: flex;
  width: 100%;
  height: 100%;

  &--vertical {
    flex-direction: row;
  }

  &--horizontal {
    flex-direction: column;
  }

  &--dragging * {
    user-select: none;
  }

  &__pane {
    width: 100%;
    height: 100%;
    //overflow: scroll;

    .splitpanes--vertical & {
      transition: width 0.2s ease-out;
    }

    .splitpanes--horizontal & {
      transition: height 0.2s ease-out;
    }

    .splitpanes--dragging & {
      transition: none;
    }
  }

  // Disable default zoom behavior on touch device when double tapping splitter.
  &__splitter {
    touch-action: none;
  }

  &--vertical > .splitpanes__splitter {
    min-width: 1px;
    cursor: col-resize;
  }

  &--horizontal > .splitpanes__splitter {
    min-height: 1px;
    cursor: row-resize;
  }
}

// 在全屏的情况下
.splitpanes.custom-splitpanes-theme-max {
  height: calc(100vh - 160px);
}
// 在不是全屏的情况下
.splitpanes.custom-splitpanes-theme-min {
  height: calc(100vh - 290px);
}

.splitpanes.custom-theme {
  //height: calc(100vh - 290px);
  //height: calc(100vh - 160px);
  .splitpanes__pane {
    background-color: var(--el-bg-color);
  }

  .splitpanes__splitter {
    background-color: var(--el-bg-color);
    box-sizing: border-box;
    position: relative;
    flex-shrink: 0;

    &:before, &:after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      background-color: var(--el-color-primary);
      transition: background-color 0.3s;
    }

    &:hover:before, &:hover:after {
      background-color: rgba(0, 0, 0, .25);
    }

    &:first-child {
      cursor: auto;
    }
  }
}

.custom-theme {
  &.splitpanes .splitpanes .splitpanes__splitter {
    z-index: 1;
  }

  &.splitpanes--vertical > .splitpanes__splitter,
  .splitpanes--vertical > .splitpanes__splitter {
    width: 7px;
    border-left: 1px solid #eee;
    margin-left: -1px;

    &:before, &:after {
      transform: translateY(-50%);
      width: 1px;
      height: 30px;
    }

    &:before {
      margin-left: -2px;
    }

    &:after {
      margin-left: 1px;
    }
  }

  &.splitpanes--horizontal > .splitpanes__splitter,
  .splitpanes--horizontal > .splitpanes__splitter {
    height: 7px;
    margin-top: -1px;
    //border-top: 1px solid #ebeef5;

    &:hover {
      background-color: var(--el-color-primary-light-7);
    }

    &:before,
    &:after {
      transform: translateX(-50%);
      width: 30px;
      height: 1px;
    }

    &:before {
      margin-top: -2px;
    }

    &:after {
      margin-top: 1px;
    }
  }
}
